/*
 *  Copyright 2024 Collate.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  http://www.apache.org/licenses/LICENSE-2.0
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
.inline-error-container {
  border-radius: 10px;

  .truncated-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-word;
  }

  .expanded-text {
    display: block;
  }

  .alert-icon {
    font-size: 16px;
    height: 16px;
    width: 16px;
  }

  .error-icon {
    color: #ff4e27;
  }

  .warning-icon {
    color: #ff7c50;
  }

  .success-icon {
    color: #43a047;
  }

  .info-icon {
    color: #3ca2f4;
  }

  .default-icon {
    color: #555f6d;
  }

  &.error-alert {
    border-color: #cb2531;
    background-color: #fcf0f1;
  }

  &.warning-alert {
    border-color: #f59638;
    background-color: #fff5eb;
  }

  &.success-alert {
    border-color: #1d7c4d;
    background-color: #f4fbf7;
  }

  &.info-alert {
    border-color: #3062d4;
    background-color: #f5f8ff;
  }

  &.default-alert {
    border-color: #cfd6dd;
    background-color: #f5f7f9;
  }
}
